/**
 * 
 */
package com.vision.core.cm.serv.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.vision.core.cm.db.data.Permission;
import com.vision.core.cm.db.data.Role;

/**
 * @author Mark
 *
 */
public interface RoleServiceAsync extends AbstractServiceAsync<Role> {

	void assignPermissions(Role role, List<Permission> permissions,
			AsyncCallback<List<Permission>> callback);

	void unassignPermissions(Role role, List<Permission> permissions,
			AsyncCallback<List<Permission>> callback);

}
